<?php

declare(strict_types=1);

namespace App\CustHub\Model;

use Mine\MineModel;

/**
 * @property int $id 
 * @property string $name 名称
 * @property int $type 类型：0=一个月 1=半年 2=一年
 * @property string $price 价格
 * @property string $original_price 原价
 * @property int $account_type 账号类型：0=个人微信 1=企业微信
 * @property int $sort 排序 正序
 * @property int $seat_type 席位类型：0=基础账号 1=互通账号
 * @property \Carbon\Carbon $created_at 
 * @property \Carbon\Carbon $updated_at 
 */
class ChSeatPackage extends MineModel
{
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'ch_seat_package';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = ['id', 'name', 'type', 'price', 'original_price', 'account_type', 'sort', 'seat_type', 'created_at', 'updated_at'];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['id' => 'integer', 'type' => 'integer', 'price' => 'decimal:2', 'original_price' => 'decimal:2', 'account_type' => 'integer', 'sort' => 'integer', 'seat_type' => 'integer', 'created_at' => 'datetime', 'updated_at' => 'datetime'];
}
